package com.yang.jxj.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author yang
 * @since 2024-06-24
 */
@ApiModel(value = "Bonus对象", description = "")
public class Bonus implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("学号")
    private Integer studentId;

    @ApiModelProperty("加分项目")
    private String bProject;

    @ApiModelProperty("加分分数")
    private String bPoints;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("是否提材料")
    private  String isTran;

    @TableField(fill = FieldFill.INSERT)
    private Date creatTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer isDelete;

    private Integer type;

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getbProject() {
        return bProject;
    }

    public void setbProject(String bProject) {
        this.bProject = bProject;
    }

    public String getbPoints() {
        return bPoints;
    }

    public void setbPoints(String bPoints) {
        this.bPoints = bPoints;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }



    public String getIsTran() {
        return isTran;
    }

    public void setIsTran(String isTran) {
        this.isTran = isTran;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Bonus{" +
                "studentId = " + studentId +
                ", bProject = " + bProject +
                ", bPoints = " + bPoints +
                ", status = " + status +
                ", creatTime = " + creatTime +
                ", updateTime = " + updateTime +
                "}";
    }
}
